runtime.traceBuf.arr (field)
15 uses
runtime (current package)
trace.go#L241: arr [64<<10 - unsafe.Sizeof(traceBufHeader{})]byte // underlying buffer for traceBufHeader.buf
trace.go#L623: return buf.ptr().arr[:buf.ptr().pos], false
trace.go#L795: if buf == nil || len(buf.arr)-buf.pos < maxSize {
trace.go#L823: lenp = &buf.arr[buf.pos-1]
trace.go#L1129: if buf == nil || len(buf.arr)-buf.pos < size {
trace.go#L1141: if room := len(buf.arr) - buf.pos; room < slen+traceBytesPerNumber {
trace.go#L1146: buf.pos += copy(buf.arr[buf.pos:], s[:slen])
trace.go#L1156: buf.arr[pos] = 0x80 | byte(v)
trace.go#L1159: buf.arr[pos] = byte(v)
trace.go#L1171: buf.arr[pos] = 0x80 | byte(v)
trace.go#L1173: buf.arr[pos] = byte(v)
trace.go#L1182: buf.arr[buf.pos] = v
trace.go#L1306: if buf := bufp.ptr(); len(buf.arr)-buf.pos < maxSize {
trace.go#L1770: if room := len(buf.arr) - buf.pos; room < slen+traceBytesPerNumber {
trace.go#L1774: buf.pos += copy(buf.arr[buf.pos:], message[:slen])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |